-- CALC_UPGRADE_USER_TALENT_COST

-- 计算提升玩家天赋等级的消耗
-- @param toLevel 提升至的等级
return function(toLevel)
    local amount;
    if 1 == toLevel then
        amount = 0;    
    elseif 2 == toLevel then
        amount = 20;
    elseif 3 == toLevel then
        amount = 50;
    elseif 4 == toLevel then
        amount = 100;
    else
        amount = 150;
    end
    
    -- 消耗世界树果实
    return {
        { 1, 1110, amount },
    };
end